<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.login({
				provider: 'weixin',
				success(res) {
					console.log(res)
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	
	uni-page-body,
	page {
		height: inherit;
		background-color: #F0F0F0;
		letter-spacing: 1upx;
		font-family: PingFang-SC-Bold;
	}

	/* 垂直居中布局 */
	.line-container {
		box-sizing: border-box;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}

	.has-tab {
		padding-bottom: 106upx;
	}
</style>
